package com.ysd.lis.service.eq;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ysd.common.Result;
import com.ysd.lis.entity.eq.EqPatrolPlan;
import com.ysd.lis.request.CommonPageDto;
import com.ysd.lis.request.eq.EqPatrolPlanDto;

import java.util.List;

/**
 * <p>
 * 设备巡检计划 服务类
 * </p>
 *
 * @author WH
 * @since 2024-08-23
 */
public interface EqPatrolPlanService extends IService<EqPatrolPlan> {

    Result findPatrolPlanPageList(CommonPageDto pageParam);
    Result findPatrolList(EqPatrolPlanDto eqPatrolPlanDto);

    Result addPatrolPlan(EqPatrolPlan eqPatrolPlan);

    Result editPatrolPlan(EqPatrolPlan eqPatrolPlan);
    Result patrolPlanStopStart(EqPatrolPlan eqPatrolPlan);
    Result handleExecutePlan(EqPatrolPlan eqPatrolPlan);

    Result findPatrolPlanById(EqPatrolPlan eqPatrolPlan);
    Result deletePatrolPlan(List<EqPatrolPlan> eqPatrolPlan);
}
